home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Development Kits / MPW etc / MPW-GM / Interfaces&Libraries / Interfaces / CIncludes / WCharTDef.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-31  |  509 b   |  27 lines  |  [TEXT/MPS ]

  1. /*
  2.     StdDef.h -- Common definitions
  3.     
  4.     Copyright Apple Computer,Inc.    1987-1990, 1994, 1997
  5.     All rights reserved.
  6.  
  7.     wchar_t - this type is defined only by stddef and stdlib.
  8.               This type is now a built-in type in C++.
  9. */
  10.  
  11. #ifndef __WCHARTDEF__
  12. #define __WCHARTDEF__
  13.  
  14.     #ifdef    __xlC
  15.         typedef unsigned short wchar_t;
  16.     #else
  17.         #if __MRC__ || __SC__ >= 0x860
  18.             #ifndef __WCHAR_T__
  19.                 typedef unsigned short wchar_t;
  20.             #endif
  21.         #else
  22.             typedef short wchar_t;
  23.         #endif
  24.     #endif
  25.  
  26. #endif    /* __WCHARTDEF__ */
  27.